<template>
    <div class="child">
        <h3>这里是子组件</h3>
        <slot :data="data"></slot>
    </div>
</template>

<script>
    export default {
        name: "child",
        data(){
            return {
                data: ['1','2','3','4','5','6']
            }
        }
    },
</script>

<style>

</style>
